package file;

import java.io.File;

public class Test4 {
    public static void main(String[] args) {
        for (int i = 1; i < 26; i++) {
            char a = (char) ('a' + i);
            File dir = new File("" + a);
            if (dir.exists()) {
                //dir.mkdir();
                dir.delete();
                System.out.println("目录删除");

            } else {

                System.out.println("目录不存在");
            }
        }
    }
}